/* 
 * File:   main.cpp
 * Author: k0l0b0k
 *
 * Created on 8 Октябрь 2009 г., 13:16
 */

#include <stdlib.h>
#include "tree/ProjectOptions.h"
#include "tree/Project.h"

/*
 * 
 */
int main(int argc, char** argv)
{
	ProjectOptions opts;
	QStringList lst;
	for (int i = 1; i < argc; i++)
	{
		lst.push_back(argv[i]);
	}
	if (!opts.ParseCommandLine(lst)) return 1;
	Project prj(&opts);
	if (!prj.Parse()) return 2;
	return 0;
}
